﻿<%@ Page Title="修改新闻" Language="C#" MasterPageFile="~/Admin/Site.Master" AutoEventWireup="true" CodeBehind="EditNews.aspx.cs" Inherits="PiaoanWeb.Admin.EditNews" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <table cellpadding="0px" cellspacing="1px" style="border: 0px; width: 990px; margin-left: auto; margin-right: auto; 
           letter-spacing: 1px; line-height: 30px;background-color: gray">
        <tr>
            <td align="center" style="background-color: rgb(111,189,102); font-size: 18px; font-weight: bold; font-family: 微软雅黑" colspan="2">修改新闻</td>
        </tr>
        <tr>
            <td style="width: 10%; font-size: 14px;background-color: rgb(235, 247, 255);" align="center"><b>标题:</b></td>
            <td style="width: 90%">
                <asp:TextBox ID="titleTxtBox" runat="server" Width="99%" Height="25px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="font-size: 14px;background-color: rgb(235, 247, 255);" align="center" colspan="2"><b>内容:</b></td>
        </tr>
        <tr style="background-color: white; min-height: 450px;" valign="top">
            <td colspan="2">
                <asp:TextBox ID="contentTxtbox" runat="server" Width="98%" TextMode="MultiLine" Height="450px"></asp:TextBox>
                <ajaxToolkit:HtmlEditorExtender ID="htmlEditorExtender2" TargetControlID="contentTxtbox" EnableSanitization="false"
                    runat="server" DisplaySourceTab="True">
                    <Toolbar>
                        <ajaxToolkit:Bold />
                        <ajaxToolkit:Italic />
                        <ajaxToolkit:Underline />
                        <ajaxToolkit:HorizontalSeparator />
                        <ajaxToolkit:JustifyLeft />
                        <ajaxToolkit:JustifyCenter />
                        <ajaxToolkit:JustifyRight />
                        <ajaxToolkit:JustifyFull />
                        <ajaxToolkit:HorizontalSeparator />
                        <ajaxToolkit:InsertOrderedList />
                        <ajaxToolkit:InsertUnorderedList />
                        <ajaxToolkit:HorizontalSeparator />
                        <ajaxToolkit:CreateLink />
                        <ajaxToolkit:UnLink />
                        <ajaxToolkit:HorizontalSeparator />
                        <ajaxToolkit:FontNameSelector />
                        <ajaxToolkit:FontSizeSelector />
                        <ajaxToolkit:ForeColorSelector />
                    </Toolbar>
                </ajaxToolkit:HtmlEditorExtender>
            </td>
        </tr>
        <tr style="background-color: white; " valign="top">
            <td colspan="2"><asp:Label ID="msgLbl" runat="server" ForeColor="Red"></asp:Label></td>
        </tr>
        <tr>
            <td align="center" style="background-color: rgb(111,189,102); font-size: 18px; font-weight: bold; font-family: 微软雅黑" colspan="2">
                <asp:Button ID="saveBtn" runat="server" Text="保存" Style="width: 85px; height: 30px; text-align: center; color: white; letter-spacing: 1px; font-family: 微软雅黑; font-size: 14px; background-color: rgb(36, 115, 234); border-style: none;" OnClick="saveBtn_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="cancelBtn" runat="server" Text="返回" Style="width: 85px; height: 30px; text-align: center; color: white; letter-spacing: 1px; font-family: 微软雅黑; font-size: 14px; background-color: rgb(36, 115, 234); border-style: none;" OnClick="cancelBtn_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
